<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@include file="/WEB-INF/pages/common/taglib.jsp"%>

<c:forEach var="diamondcalculation" varStatus="diamondcalculationindex" items="${datas}">
	<tr>
		<td>
			${diamondcalculation.id}
			<c:if test="${diamondcalculationindex.index==0}"><input type="hidden" id="itemCount" value="${itemCount}"/></c:if>
		</td>
		<td class="keys">
		<c:if test="${diamondcalculation.start!=null}">
			${diamondcalculation.start}克拉≤重量<${diamondcalculation.end}克拉
		</c:if>

		</td>
		<td >${diamondcalculation.price==null?'':(tz:formatDouble(diamondcalculation.price))} </td>
		<td class="tmui-tips" tip="${tz:formatDate(diamondcalculation.createTime,'yyyy-MM-dd HH:mm:ss')}">
				${tz:timeFormat(diamondcalculation.createTime)}
		</td>


		<td>
			<a href="${adminPath}/service/diamondcalculation/edit/${diamondcalculation.id}"  class="btn btn-success" >修改</a>
			<a href="javascript:void(0);" data-opid="${diamondcalculation.id}" onclick="tzAdmin.remove(this)" class="btn btn-danger" >删除</a>
		</td>
	</tr>
</c:forEach>
